﻿using ReoGrid.Mvvm.Attributes;
using ReoGrid.Mvvm.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RunningCalculator
{
    [WorksheetAttribute(Title = "Pace")]
    public class PaceModel: IRecordModel
    {
        [ColumnHeader(Index = 10, Text = "顺序", Width = 50)]
        public string Index { get; set; }

        [ColumnHeader(Index = 20, Text = "本段起点(km)")]
        public string DistanceBeginning { get; set; }

        [ColumnHeader(Index = 30, Text = "本段终点(km)")]
        public string DistanceEnd { get; set; }

        [ColumnHeader(Index = 40, Text = "本段长度(km)")]
        public string SectionLength { get; set; }

        [ColumnHeader(Index = 50, Text = "本段配速")]
        public string SectionPace { get; set; }

        [ColumnHeader(Index = 60, Text = "本段用时")]
        public string SectionTime { get; set; }

        [ColumnHeader(Index = 70, Text = "已跑距离(km)")]
        public string TotalLength { get; set; }

        [ColumnHeader(Index = 80, Text = "整体配速")]
        public string Pace { get; set; }

        [ColumnHeader(Index = 90, Text = "用时累计")]
        public string TotalTime { get; set; }

        public int RowIndex { get; set; }
    }
}
